#version 460
#define GLSLIFY 1

layout(location=0) in vec4 vColor;
//layout(location = 1) in flat int isEdge;

layout(location=0) out vec4 outColor;

void main(void){
	vec2 temp = gl_PointCoord - vec2(0.5);
	float f = dot(temp, temp);
	
	outColor = vColor;
	outColor.a = clamp(0.5 - f - 0.25, 0.0, 0.25) * 20;
	//outColor = vec4(1,1,0,1);
}

 